<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>比赛管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css">
<link href="__PUBLIC__/css/font-awesome.css" rel="stylesheet">
<script src="__PUBLIC__/js/jquery.min.js"></script>
<style type="text/css">
.autoflow-x {
	overflow-x: auto;
}
@media(max-width: 550px){
	.bsz {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.bsjs {
	}
}
</style>
</head>
<body>
<!-- 比赛管理 -->
<div class="grades-m">
	<div class="autoflow-x">
		<table class="table">
			<tr style="background-color: #F2F3F7;">
				<th>ID</th>
				<th>赛事名称</th>
				<th>竞赛日期</th>
				<th>代号</th>
				<th>状态</th>
				<th>操作</th>
			</tr>
			<volist name="game_list" id="vol">
			<tr>
				<td>{$vol.g_id}</td>
				<td>
					<div class="circle"></div>
					<div class="circle-name">{$vol.g_name}</div>
				</td>
				<td>{$vol.g_start}</td>
				<td>{$vol.g_short}</td>
				<td>
					<if condition="$vol.g_status eq 0">等待比赛
					<else />比赛中
					</if>
				</td>
				<if condition="$vol.g_status eq 0">
				<td>
					<a href="__URL__/be_game/id/{$vol.g_id}" class="btn btn-default"/>比赛中</a>
				</td>
				<else />
				<td>
					<a href="__URL__/end_game/id/{$vol.g_id}" class="btn btn-default"/>结束比赛</a>
				</td>
				</if>
			</tr>
			</volist>
		</table>
	</div>
</div>
</body>
</html>